package com.borrowed.book.user.domain;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class SUser {
    @ApiModelProperty(value ="微信唯一标识",dataType = "String")
    private String openid;

    @ApiModelProperty(value ="头像url",dataType = "String")
    private String imageUrl;

    @ApiModelProperty(value ="昵称",dataType = "String")
    private String nickName;

    @ApiModelProperty(value ="手机号码",dataType = "String")
    private String phoneNumber;

    private String password;

    @ApiModelProperty(value ="押金",dataType = "BigDecimal")
    private BigDecimal gold;

    private Date createTime;

    private String sessionKey;

    private Serializable tokenId;

    @ApiModelProperty(value ="地址",dataType = "String")
    private String address;

    public Serializable getTokenId() {
        return tokenId;
    }

    public void setTokenId(Serializable tokenId) {
        this.tokenId = tokenId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public BigDecimal getGold() {
        return gold;
    }

    public void setGold(BigDecimal gold) {
        this.gold = gold;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getSessionKey() {
        return sessionKey;
    }

    public void setSessionKey(String sessionKey) {
        this.sessionKey = sessionKey;
    }
}